import { axios } from '@/utils/request'
//成绩单列表
export function reportList(params) {
    return axios({
      url: '/school/exams',
      method: 'post',
      data: params
    })
  }
  
  export function examsdelete(id) {
    return axios({
      url: '/school/exams/'+id+'/delete',
      method: 'post',
    })
  }
  //下载导入模板
  export function downloadExport(school_id) {
    return axios({
      url: '/school/template?school_id='+school_id,
      method: 'get',
      responseType: 'blob'
    })
  }
  export function excelIn(params) {  //导入学员
    return axios({
      url: '/school/exams/import',
      method: 'post',
      data: params
    })
  }
  //获取科目
  export function subjectsList(data) {
    return axios({
      url: '/school/subjects',
      method: 'post',
      data: data
    })
  }